![]()
Flag blocks output their input signal. LOGO! 0BA7 provides 27 digital flags M1 to M27 and 16 analog flags AM1 to AM16.
0BA6: 27 digital flags M1 to M27; 6 analog flags AM1 to AM6. 0BA4, 0BA5: 24 digital flags M1to M24; 6 analog flags AM1 to AM6 0BA3, 0BA2: 8 digital flags M1 to M8 |
In your block configuration, you can assign a new number to the flag, provided this flag number does not already exist in your circuit program.
The output always carries the signal of the previous program cycle. This value does not change within the current program cycle.
Startup flag: M8
The M8 flag is set in the first cycle of the user program and can thus be used in your circuit program as a startup flag. It is reset after the first program execution cycle.
In the subsequent cycles, the M8 flag reacts in the same way as the M1 to M7 flags.
Backlight flags: M25 and M26
The M25 flag controls the backlight of the LOGO! onboard display. The M26 flag controls the backlight of the LOGO! TD (Text Display).
You can use the outputs of timers, message texts, or other function blocks to activate the backlight flags. To enable multiple conditions to control the backlight of the devices, you can use multiple function blocks in parallel or in sequence.
Message text character set flag: M27
The M27 flag, if used, determines whether the message texts of the primary character set or the secondary character set will display. You select the two character sets from either the Msg Config menu of LOGO! or the File → Message Text Settings menu command of LOGO!Soft Comfort. Then when you configure message texts , you select whether a particular message text consists of characters from the primary character set (Character Set 1) or the secondary character set (Character Set 2).
In the circuit program, M27 can be used to enable the message texts of either the primary or secondary character set and to disable the message texts of the other. When M27=0 (low), then LOGO! only displays the message texts from the primary character set. When M27=1 (high), then LOGO! only displays the message texts from the secondary character set.
Analog Flags: AM1 to AM16
The analog flags can be used as markers for analog inputs or analog instruction blocks. The analog flag merely accepts an analog value as input and outputs that value.
M8, M25, M26 and M27 are not available in the UDF Editor. |